#include"Headers_Constantes.h"


void Viga::Desenha_bloco(int x, int y){
	Consola c;
	
	//3x3
	/*c.gotoxy(x,y);
	cout<<(char)203;
	cout<<(char)32;
	cout<<(char)203;
			
	c.gotoxy(x,y+1);
	cout<<(char)179;
	cout<<(char)32;
	cout<<(char)179;*/

	//5x5

	c.gotoxy(x,y);
	cout<<(char)179;
	cout<<(char)203;
	cout<<(char)32;
	cout<<(char)203;
	cout<<(char)179;

	c.gotoxy(x,++y);
	cout<<(char)179;
	cout<<(char)179;
	cout<<(char)32;
	cout<<(char)179;	
	cout<<(char)179;

	c.gotoxy(x,++y);
	cout<<(char)179;
	cout<<(char)179;
	cout<<(char)32;
	cout<<(char)179;	
	cout<<(char)179;

	c.gotoxy(x,++y);
	cout<<(char)179;
	cout<<(char)179;
	cout<<(char)32;
	cout<<(char)179;	
	cout<<(char)179;

	c.gotoxy(x,++y);	
	cout<<(char)192;  
	cout<<(char)196; 
	cout<<(char)196;
	cout<<(char)196;
	cout<<(char)217;
		
}

void Viga::Desenha_viga_com_boneco(int x, int y){
	Consola c;
	
		c.gotoxy(x,y);	
		cout<<(char)203;
		cout<<(char)254; 
		cout<<(char)203;
		
		c.gotoxy(x,y+1);
		cout<<(char)179;
		cout<<(char)203; 
		cout<<(char)179;

		c.gotoxy(x,y+2);	
		cout<<(char)32;
		cout<<(char)193;
		cout<<(char)32;
		
}
